package cn.kgc.jihe.Work02;
//员工类
public class Staff {
    private String name;
    private int age;
    private int id;
    private double salsry;

    public Staff() {
    }

    public Staff(String name, int age, int id, double salsry) {
        this.name = name;
        this.age = age;
        this.id = id;
        this.salsry = salsry;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSalsry() {
        return salsry;
    }

    public void setSalsry(double salsry) {
        this.salsry = salsry;
    }

}
